<?php

/**
 * 菜单配置
 */


return [

    'admin' => [
        'app-store' => [
            'name' => '商城',
            'icon' => 'fa fa-shopping-cart',
            'displayorder' => -170,
            'left' => [
                'store/home/index' => [
                    'name' => '商品管理',
                    'icon' => 'fa fa-shopping-cart',
                    'displayorder' => 0,
                    'link' => [
                        [
                            'name' => '商品管理',
                            'icon' => 'fa fa-shopping-cart',
                            'uri' => 'store/home/index',
                        ],
                        [
                            'name' => '库存预警',
                            'icon' => 'fa fa-warning',
                            'uri' => 'store/home/warning_index',
                        ],
                        [
                            'name' => '评论审核',
                            'icon' => 'fa fa-comments',
                            'uri' => 'store/comment_verify/index',
                        ],
                    ],
                ],

                'store/category/index' => [
                    'name' => '商品分类',
                    'icon' => 'fa fa-reorder',
                    'uri' => 'store/category/index',
                    'displayorder' => 1,
                ],

                'store/order/index' => [
                    'name' => '订单管理',
                    'icon' => 'fa fa-shopping-cart',
                    'displayorder' => 2,
                    'link' => [
                        [
                            'name' => '最新订单',
                            'icon' => 'fa fa-shopping-cart',
                            'uri' => 'store/order/index',
                        ],
                        [
                            'name' => '未付款订单',
                            'icon' => 'fa fa-rmb',
                            'uri' => 'store/order/st1_index',
                        ],
                        [
                            'name' => '准备发货订单',
                            'icon' => 'fa fa-truck',
                            'uri' => 'store/order/st2_index',
                        ],
                        [
                            'name' => '交易关闭订单',
                            'icon' => 'fa fa-times-circle',
                            'uri' => 'store/order/st0_index',
                        ],
                        [
                            'name' => '交易完成订单',
                            'icon' => 'fa fa-check-circle-o',
                            'uri' => 'store/order/st9_index',
                        ],

                        [
                            'name' => '售后处理订单',
                            'icon' => 'fa fa-user-md',
                            'uri' => 'store/service/index',
                        ],
                    ],
                ],

                'store-config' => [
                    'name' => '商城设置',
                    'icon' => 'fa fa-cog',
                    'displayorder' => 100,
                    'link' => [
                        [
                            'name' => '自定义收款',
                            'icon' => 'fa fa-cc-paypal',
                            'uri' => 'gathering/home/index',
                        ],
                        [
                            'name' => '商品折扣',
                            'icon' => 'fa fa-gift',
                            'uri' => 'store/promotion/index',
                        ],
                        [
                            'name' => '订单优惠',
                            'icon' => 'fa fa-opencart',
                            'uri' => 'store/order_promotion/index',
                        ],

                        [
                            'name' => '订单设置',
                            'icon' => 'fa fa-shopping-cart',
                            'uri' => 'store/config/index',
                        ],
                        [
                            'name' => '活动页面',
                            'icon' => 'fa fa-safari',
                            'uri' => 'store/promotion_page/index',
                        ],
                        [
                            'name' => '运费策略',
                            'icon' => 'fa fa-ambulance',
                            'uri' => 'store/shipping/index',
                        ],
                        [
                            'name' => '物流公司',
                            'icon' => 'fa fa-truck',
                            'uri' => 'store/delivery_corp/index',
                        ],
                        [
                            'name' => '模块订单管理',
                            'icon' => 'fa fa-shopping-cart',
                            'uri' => 'order/home/index',
                            'displayorder' => 100,
                        ],
                        [
                            'name' => '模块订单配置',
                            'icon' => 'fa fa-cog',
                            'uri' => 'order/config/index',
                            'displayorder' => 110,
                        ],
                        [
                            'name' => '模块模块权限',
                            'icon' => 'fa fa-cogs',
                            'uri' => 'order/module/index',
                            'displayorder' => 120,
                        ],
                        [
                            'name' => '模块下单字段',
                            'icon' => 'fa fa-code',
                            'uri' => 'order/field/index',
                            'displayorder' => 130,
                        ],
                    ]
                ],
            ],
        ],
    ],


    'member' => [
        'store-order' => [
            'name' => '购物管理',
            'icon' => 'fa fa-handshake-o',
            'displayorder' => '9',
            'link' => [
                [
                    'name' => '我的订单',
                    'icon' => 'fa fa-shopping-cart',
                    'uri' => 'store/order/index',
                ],
                [
                    'name' => '售后管理',
                    'icon' => 'fa fa-user-md',
                    'uri' => 'store/service/index',
                ],
                [
                    'name' => '收货地址',
                    'icon' => 'fa fa-address-book',
                    'uri' => 'store/address/index',
                ],

            ],
        ],
    ],
];